package cn.shyouchi.wuguanjia.android.ui.event.rank;

import java.util.List;

import cn.shyouchi.wuguanjia.android.base.BasePresenter;
import cn.shyouchi.wuguanjia.android.base.BaseView;

/**
 * Created by Eenie on 2016/11/16 at 16:27
 * Email: 472279981@qq.com
 * Des:
 */

public interface EventRankContract {

    interface View extends BaseView {

        void onDataRefresh(List<EventRankEntity.ResultMessageBean> resultMessageBeanList);

        void onItemClick(EventRankEntity.ResultMessageBean resultMessageBean);

        void onDelClick(EventRankEntity.ResultMessageBean resultMessageBean);

    }

    interface Presenter extends BasePresenter<View> {

        void getRankList(String projectId);


        void delRank(String projectId, String id);


        void addRank(String projectid, String title, String startTime, String endTime);
    }
}
